package com.letfox.user.dao;

import java.util.List;
import java.util.Map;

/**
 * 基本数据操作接口
 * @param <T>
 */
public interface BaseDao<T> {

	public int insert(T entity);
	
	public int update(T entity);
	
	public int deleteById(Long id);
	
	public int deleteByIds(String ids);
	
	public T selectById(Long id);
	
	public List<T> selectList(T entity);
	
	public List<T> selectList(Map<String, Object> params);
	
}
